<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>K3Cloud | 登录</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
    <link rel="stylesheet" href="../../static/build/css/app.min.css" th:href="${#fn.getStaticFile('/build/css/app.min.css')}">
    <link rel="stylesheet" href="../../static/lib/plugins/ionicons/css/ionicons.min.css"  th:href="${#fn.getStaticFile('/lib/plugins/ionicons/css/ionicons.min.css')}"/>
    <link rel="stylesheet" href="../../static/lib/plugins/icheck/square/blue.css" th:href="${#fn.getStaticFile('/lib/plugins/icheck/square/blue.css')}"/>
    <link rel="stylesheet" href="../../static/dist/css/common.css" th:href="${#fn.getStaticFile('/dist/css/common.css')}">
    <script src="../../static/build/js/app.min.js" th:src="${#fn.getStaticFile('/build/js/app.min.js')}"></script>
    <script src="../../static/lib/plugins/icheck/icheck.min.js" th:src="${#fn.getStaticFile('/lib/plugins/icheck/icheck.min.js')}"></script>
    <script src="../../static/dist/js/common.js" th:src="${#fn.getStaticFile('/dist/js/common.js')}"></script>
</head>
<body class="hold-transition login-page">
    <div class="login-box">
    <div class="login-logo">
        <b>MyBlog</b>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
        <div class="form-group has-feedback" th:if="${param.error}">
            <span >用户名或密码错误</span>
        </div>
        <div class="form-group has-feedback" th:if="${param.logout}">
            <span >您已注销成功</span>
        </div>
        <p class="login-box-msg">登录</p>
        <form th:action="@{/login}" method="post">
            <div class="form-group has-feedback">
                <input type="text" name="username" class="form-control" placeholder="用户名" autofocus />
                <span class="glyphicon glyphicon-user form-control-feedback"></span>
            </div>
            <div class="form-group has-feedback">
                <input type="password" name="password" class="form-control" placeholder="密码" autofocus />
                <span class="glyphicon glyphicon-lock form-control-feedback"></span>
            </div>
            <div class="row">
                <div class="col-xs-8">
                    <div class="checkbox icheck">
                        <label>
                            <input type="checkbox" name="remember-me"/> 记住我
                        </label>
                    </div>
                </div>
                <!-- /.col -->
                <div class="col-xs-4">
                    <button type="submit" class="btn btn-primary btn-block btn-flat">登录</button>
                </div>
                <!-- /.col -->
            </div>
        </form>
    </div>
    <!-- /.login-box-body -->
</div>
</body>
</html>
